<?php

use Illuminate\Database\Seeder;

class menus_seeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('menus')->insert([
			[
				'id' => 1,
				'parent_id' => 0,
				'icon' => 'mofont mo-icon-dashboard mo-menu',
				'uri' => '/admin/dashboard',
				'is_link' => 0,
				'permission_name' => 'admin-dashbord',
				'name' => '首页',
				'guard_name' => 'admin',
				'sequence' => 1,
				'created_at' => null,
				'updated_at' => '2021-08-26 07:52:27',
			],
			[
				'id' => 2,
				'parent_id' => 0,
				'icon' => 'mofont mo-icon-admin mo-menu',
				'uri' => '/admin/admin',
				'is_link' => 0,
				'permission_name' => 'admin',
				'name' => 'Admin',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => null,
				'updated_at' => '2021-08-26 02:06:50',
			],
			[
				'id' => 3,
				'parent_id' => 2,
				'icon' => '',
				'uri' => '/admin/admin-user',
				'is_link' => 0,
				'permission_name' => null,
				'name' => 'Admin user',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => null,
				'updated_at' => null,
			],
			[
				'id' => 4,
				'parent_id' => 2,
				'icon' => '',
				'uri' => '/admin/role',
				'is_link' => 0,
				'permission_name' => null,
				'name' => 'Role',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => null,
				'updated_at' => null,
			],
			[
				'id' => 5,
				'parent_id' => 2,
				'icon' => '',
				'uri' => '/admin/permission',
				'is_link' => 0,
				'permission_name' => null,
				'name' => 'Permission',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => null,
				'updated_at' => null,
			],
			[
				'id' => 6,
				'parent_id' => 2,
				'icon' => '',
				'uri' => '/admin/permission-group',
				'is_link' => 0,
				'permission_name' => null,
				'name' => 'Permission Group',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => null,
				'updated_at' => null,
			],
			[
				'id' => 7,
				'parent_id' => 2,
				'icon' => '',
				'uri' => '/admin/menu',
				'is_link' => 0,
				'permission_name' => null,
				'name' => 'Menu',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => null,
				'updated_at' => null,
			],
			[
				'id' => 8,
				'parent_id' => 0,
				'icon' => 'el-icon-setting',
				'uri' => '/admin/system',
				'is_link' => 0,
				'permission_name' => 'system',
				'name' => '系统设置',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => '2021-08-26 01:47:37',
				'updated_at' => '2021-08-26 09:55:39',
			],
			[
				'id' => 9,
				'parent_id' => 0,
				'icon' => 'el-icon-s-shop',
				'uri' => '/admin/store',
				'is_link' => 0,
				'permission_name' => 'store',
				'name' => '店铺管理',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => '2021-08-26 07:31:56',
				'updated_at' => '2021-08-26 09:55:47',
			],
			[
				'id' => 11,
				'parent_id' => 9,
				'icon' => null,
				'uri' => '/admin/stores',
				'is_link' => 0,
				'permission_name' => 'store.index',
				'name' => '商店列表',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => '2021-08-26 09:25:15',
				'updated_at' => '2021-08-26 11:24:30',
			],
			[
				'id' => 12,
				'parent_id' => 9,
				'icon' => null,
				'uri' => '/admin/hospitals',
				'is_link' => 0,
				'permission_name' => 'hospital.index',
				'name' => '医院列表',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => '2021-08-26 09:29:25',
				'updated_at' => '2021-08-26 11:25:08',
			],
			[
				'id' => 13,
				'parent_id' => 0,
				'icon' => 'el-icon-edit',
				'uri' => '/admin/check',
				'is_link' => 0,
				'permission_name' => 'check',
				'name' => '审核管理',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => '2021-08-28 05:13:32',
				'updated_at' => '2021-08-28 05:16:49',
			],
			[
				'id' => 14,
				'parent_id' => 13,
				'icon' => null,
				'uri' => '/admin/check/store-index',
				'is_link' => 0,
				'permission_name' => 'check.store-index',
				'name' => '待审核商店',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => '2021-08-28 05:19:29',
				'updated_at' => '2021-08-28 05:19:29',
			],
			[
				'id' => 15,
				'parent_id' => 0,
				'icon' => 'el-icon-user',
				'uri' => '/admin/sub-account',
				'is_link' => 0,
				'permission_name' => 'sub-account',
				'name' => '子帐号管理',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => '2021-08-30 01:52:03',
				'updated_at' => '2021-08-30 01:56:06',
			],
			[
				'id' => 16,
				'parent_id' => 15,
				'icon' => null,
				'uri' => '/admin/sub-account-index',
				'is_link' => 0,
				'permission_name' => 'sub-account.index',
				'name' => '子帐号列表',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => '2021-08-30 01:53:41',
				'updated_at' => '2021-08-30 01:53:41',
			],
			[
				'id' => 17,
				'parent_id' => 15,
				'icon' => null,
				'uri' => '/admin/sub-account-role',
				'is_link' => 0,
				'permission_name' => 'sub-account-role.index',
				'name' => '子帐号角色',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => '2021-08-30 02:55:32',
				'updated_at' => '2021-08-30 02:55:43',
			],
			[
				'id' => 18,
				'parent_id' => 0,
				'icon' => 'el-icon-shopping-cart-full',
				'uri' => '/admin/store-manager',
				'is_link' => 0,
				'permission_name' => 'store.manager',
				'name' => '商店管理',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => '2021-08-31 08:23:53',
				'updated_at' => '2021-08-31 08:27:04',
			],
			[
				'id' => 19,
				'parent_id' => 18,
				'icon' => null,
				'uri' => '/admin/store/info',
				'is_link' => 0,
				'permission_name' => 'store.info',
				'name' => '基本信息',
				'guard_name' => 'admin',
				'sequence' => 1,
				'created_at' => '2021-09-02 11:16:39',
				'updated_at' => '2021-09-04 06:51:08',
			],
			[
				'id' => 20,
				'parent_id' => 18,
				'icon' => null,
				'uri' => '/admin/store/login',
				'is_link' => 0,
				'permission_name' => 'store.login',
				'name' => '登录',
				'guard_name' => 'admin',
				'sequence' => 0,
				'created_at' => '2021-09-04 06:50:59',
				'updated_at' => '2021-09-04 06:50:59',
			],

        ]);
    }
}
